package creation.simplefactory;

/**
 * @author wangjinqiang
 * @date 2019-08-09
 */
public class Client {
    public static void main(String[] args) {
        VideoFactory factory= new VideoFactory();
//        final Video java = factory.getVideo("java");
//        java.produce();
        final Video python = factory.getVideoByClass(PythonVideo.class);
        python.produce();


    }
}
